<?php
/** .-------------------------------------------------------------------
 * |      Site: www.hdcms.com  www.houdunren.com
 * |      Date: 2018/7/2 上午12:54
 * |    Author: 向军大叔 <2300071698@qq.com>
 * '-------------------------------------------------------------------*/
/**
 * 权限配置
 * 为了避免其他模块有同名的权限，权限标识要以 '控制器@方法' 开始
 */
return [
    [
        'group' => '微信配置管理',
        'permissions' => [
            ['title' => '查看微信服务器配置', 'name' => 'Modules\Weixin\Http\Controllers\WxConfigController@index', 'guard' => 'admin'],
			['title' => '创建微信服务器配置', 'name' => 'Modules\Weixin\Http\Controllers\WxConfigController@create', 'guard' => 'admin'],
			['title' => '编辑微信服务器配置', 'name' => 'Modules\Weixin\Http\Controllers\WxConfigController@edit', 'guard' => 'admin'],
			['title' => '删除微信服务器配置', 'name' => 'Modules\Weixin\Http\Controllers\WxConfigController@destroy', 'guard' => 'admin'],

        ],
    ],
	[
		'group' => '微信自定菜单管理',
		'permissions' => [
			['title' => '查看自定义菜单列表', 'name' => 'Modules\Weixin\Http\Controllers\WxMenuController@index', 'guard' => 'admin'],
			['title' => '创建自定义菜单', 'name' => 'Modules\Weixin\Http\Controllers\WxMenuController@create', 'guard' => 'admin'],
			['title' => '编辑自定义菜单', 'name' => 'Modules\Weixin\Http\Controllers\WxMenuController@edit', 'guard' => 'admin'],
			['title' => '删除自定义菜单', 'name' => 'Modules\Weixin\Http\Controllers\WxMenuController@destroy', 'guard' => 'admin'],
			['title' => '推送自定义菜单', 'name' => 'Modules\Weixin\Http\Controllers\WxMenuController@push', 'guard' => 'admin'],
		],
	],
	[
		'group' => '微信基础消息回复管理',
		'permissions' => [
			['title' => '查看基础消息列表', 'name' => 'Modules\Base\Http\Controllers\BaseReplyController@index', 'guard' => 'admin'],
			['title' => '创建基础消息回复', 'name' => 'Modules\Base\Http\Controllers\BaseReplyController@create', 'guard' => 'admin'],
			['title' => '编辑基础消息回复', 'name' => 'Modules\Base\Http\Controllers\BaseReplyController@edit', 'guard' => 'admin'],
			['title' => '删除基础消息回复', 'name' => 'Modules\Base\Http\Controllers\BaseReplyController@destroy', 'guard' => 'admin']
		],
	],
	[
		'group' => '微信图文消息回复管理',
		'permissions' => [
			['title' => '查看图文消息回复列表', 'name' => 'Modules\News\Http\Controllers\NewsReplyController@index', 'guard' => 'admin'],
			['title' => '创建图文消息回复', 'name' => 'Modules\News\Http\Controllers\NewsReplyController@create', 'guard' => 'admin'],
			['title' => '编辑图文消息回复', 'name' => 'Modules\News\Http\Controllers\NewsReplyController@edit', 'guard' => 'admin'],
			['title' => '删除图文消息回复', 'name' => 'Modules\News\Http\Controllers\NewsReplyController@destroy', 'guard' => 'admin']
		],
	],
];
